package com.ag.common.tools;

import org.springframework.lang.Nullable;

/**
 * 对象工具类
 *
 * @author Administrator
 * @date 2021/1/26
 */
public class ObjectUtil extends org.springframework.util.ObjectUtils {

    /**
     * 判断元素不为空
     * @param obj object
     * @return boolean
     */
    public static boolean isNotEmpty(@Nullable Object obj) {
        return !ObjectUtil.isEmpty(obj);
    }
}
